package com.match.competition_sub.client;

import com.match.commonutils.Result;
import com.match.entity.Vo.UserRoleVo;
import com.match.entity.roleEntity.CompetitionRole;
import org.springframework.stereotype.Component;

/**
 * @author 芊薰
 */
@Component
public class MainClientImpl implements MainClient{

    @Override
    public Result getAllRole() {
        return Result.error().message("服务器忙请稍后添加");
    }

    @Override
    public Result userAddRole(UserRoleVo userRoleVo) {
        return Result.error().message("服务器忙请稍后添加");
    }

    @Override
    public Result getOneRoleByQuery(String roleName) {
        return  Result.error().message("服务器忙请稍后添加");
    }

    @Override
    public Result addRole(CompetitionRole competitionRole) {
        return Result.error().message("服务器忙请稍后添加");
    }
}
